package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.DishVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DishService {
    void addDish(DishDTO dish);

    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void deleteDish(List<Long> ids);

    DishVO getDishById(Long id);

    void updateDish(DishDTO dish);

    List<DishVO> listDish(Long categoryId);

    void updateDishStatus(Integer status, Long id);

    List<DishVO> listWithFlavor(Dish dish);
}
